<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>墓地逃亡</title>

    <meta name="keywords" content="墓地逃亡" />
    <meta name="description" content="墓地逃亡" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui"
    />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="apple-touch-fullscreen" content="yes" />
    <meta name="HandheldFriendly" content="true" />
    <meta name="mobile-web-app-capable" content="yes" />
    <script type="text/javascript" src="./js/developer.js"></script>
    <script src="game.js"></script>
    <style>
      #container {
        background: #000000;
        width: 100%;
        height: 100%;
      }
      html,
      body {
        background: #000000;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        touch-action: none;
        user-select: none;
        -ms-touch-action: none;
        -moz-user-select: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        -khtml-user-select: none;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
      }
      body {
        overflow: hidden;
      }
      canvas {
        touch-action-delay: none;
        touch-action: none;
        -ms-touch-action: none;
      }
      #info {
        position: absolute;
        top: 0px;
        width: 100%;
        color: #ffffff;
        padding: 5px;
        font-family: Monospace;
        font-size: 13px;
        font-weight: bold;
        text-align: center;
      }
      a {
        color: #ffffff;
      }
    </style>
  </head>
  <body>
    <div id="container"></div>
    <script type="text/javascript">
      var SpilData = {
        id: "576742227280298086",
        pauseGame: function () {
          if (typeof GEMIOLI !== "undefined" && GEMIOLI.Application)
            GEMIOLI.Application.dispatchEvent({ type: "blur" });
        },
        resumeGame: function () {
          if (typeof GEMIOLI !== "undefined" && GEMIOLI.Application)
            GEMIOLI.Application.dispatchEvent({ type: "focus" });
        },
        onLoad: function (callback) {
          if (SpilData.apiInstance) callback();
          else this.callbacks.push(callback);
        },
        callbacks: [],
      };
      GameAPI.loadAPI(function (apiInstance) {
        if (window.console && window.console.log) {
          console.log("GameAPI version " + apiInstance.version + " loaded!");
        }
        SpilData.apiInstance = apiInstance;
        SpilData.moreGamesAction = apiInstance.Branding.getLink("more_games").action;
        SpilData.logoData = apiInstance.Branding.getLogo();
        for (var i = 0; i < SpilData.callbacks.length; ++i) {
          SpilData.callbacks[i].call(SpilData);
        }
        SpilData.callbacks = [];
      }, SpilData);
      window.addEventListener(
        "scroll",
        function () {
          if (document.activeElement === document.body && window.scrollY > 0) {
            document.body.scrollTop = 0;
          }
        },
        true
      );
    </script>
  </body>
</html>
